package cc.rengu.redp.bizimpl.upmp.service;

import cc.rengu.redp.bizimpl.upmp.domain.BProdFeeInfo;
import cc.rengu.redp.common.exception.RedpException;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 刘玉亮.LL
 * @since 2021-06-10
 */
public interface IBProdFeeInfoService extends IService<BProdFeeInfo> {

    List<BProdFeeInfo> getBaseProdFeeList(String instId, String prodType, String baseProdCode) throws RedpException;

    BProdFeeInfo getEffectProdFee(String instId, String prodType, String baseProdCode, String prodCode, String feeType, int date);

    void convertFeeAmt(BProdFeeInfo fee, BProdFeeInfo orgFee);

    List<BProdFeeInfo> selectBaseProdFeeList(String instId, String prodType, String baseProdCode) throws RedpException;

    List<BProdFeeInfo> getProdFeeListAdd(String instId, String prodType, String baseProdCode, String prodCode) throws RedpException;

    BProdFeeInfo getEffectProdFeeAdd(String instId, String prodType, String baseProdCode, String prodCode, String feeType, Integer date);

    void delete(List<BProdFeeInfo> listFeeDBDel);
}
